import fetch from 'src/fetch'
import * as integralUrl from '../constant/integral'


export const list = (params) => {
    return fetch({
      url: integralUrl.list,
      params
    })
  }


export const check = (data) => {
    return fetch({
      url: integralUrl.check,
      method: 'put',
      data
    })
  }